# $Id: PKGBUILD 88454 2013-04-18 04:14:11Z fyan $
# Maintainer: Felix Yan <felixonmars@gmail.com>

pkgname=libtaginfo
pkgver=0.1.6
pkgrel=1
pkgdesc="Library for reading media metadata"
arch=('i686' 'x86_64')
url="https://bitbucket.org/shuerhaaken/libtaginfo"
depends=('taglib' 'gcc-libs')
license=('GPL2')
source=("https://bitbucket.org/shuerhaaken/libtaginfo/downloads/$pkgname-$pkgver.tar.gz")

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./autogen.sh --prefix=/usr
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}

md5sums=('781361a667767e8553735682d63670ca')
